.class public Les/l50;
.super Ljava/lang/Object;
.source "FatFile.java"

# interfaces
.implements Les/e50;


# instance fields
.field private a:Les/a50;

.field private b:Les/g50;

.field private c:Les/h50;

.field private d:Les/j50;

.field private e:Les/f50;

.field private f:Les/m50;

.field private g:Z


# direct methods
.method private constructor <init>(Les/a50;Les/g50;Les/h50;Les/m50;Les/j50;)V
    .locals 1

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Les/l50;->g:Z

    .line 3
    iput-object p1, p0, Les/l50;->a:Les/a50;

    .line 4
    iput-object p2, p0, Les/l50;->b:Les/g50;

    .line 5
    iput-object p3, p0, Les/l50;->c:Les/h50;

    .line 6
    iput-object p4, p0, Les/l50;->f:Les/m50;

    .line 7
    iput-object p5, p0, Les/l50;->d:Les/j50;

    return-void
.end method

.method public static a(Les/m50;Les/a50;Les/g50;Les/h50;Les/j50;)Les/l50;
    .locals 7

    .line 1
    new-instance v6, Les/l50;

    move-object v0, v6

    move-object v1, p1

    move-object v2, p2

    move-object v3, p3

    move-object v4, p0

    move-object v5, p4

    invoke-direct/range {v0 .. v5}, Les/l50;-><init>(Les/a50;Les/g50;Les/h50;Les/m50;Les/j50;)V

    return-object v6
.end method

.method private b()V
    .locals 8
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->e:Les/f50;

    if-nez v1, :cond_0

    .line 3
    new-instance v1, Les/f50;

    iget-object v2, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v2}, Les/m50;->g()J

    move-result-wide v3

    iget-object v5, p0, Les/l50;->a:Les/a50;

    iget-object v6, p0, Les/l50;->b:Les/g50;

    iget-object v7, p0, Les/l50;->c:Les/h50;

    move-object v2, v1

    invoke-direct/range {v2 .. v7}, Les/f50;-><init>(JLes/a50;Les/g50;Les/h50;)V

    iput-object v1, p0, Les/l50;->e:Les/f50;

    .line 4
    :cond_0
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method


# virtual methods
.method public a(JLjava/nio/ByteBuffer;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 2
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 3
    :try_start_0
    iget-boolean v1, p0, Les/l50;->g:Z

    if-nez v1, :cond_0

    .line 4
    invoke-direct {p0}, Les/l50;->b()V

    .line 5
    iget-object v1, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1}, Les/m50;->l()V

    .line 6
    iget-object v1, p0, Les/l50;->e:Les/f50;

    invoke-virtual {v1, p1, p2, p3}, Les/f50;->a(JLjava/nio/ByteBuffer;)V

    .line 7
    monitor-exit v0

    return-void

    .line 8
    :cond_0
    new-instance p1, Ljava/io/IOException;

    const-string p2, "The file is deleted"

    invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw p1

    :catchall_0
    move-exception p1

    .line 9
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public a(Les/e50;)V
    .locals 0

    return-void
.end method

.method public b(JLjava/nio/ByteBuffer;)V
    .locals 6
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 5
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 6
    :try_start_0
    iget-boolean v1, p0, Les/l50;->g:Z

    if-nez v1, :cond_1

    .line 7
    invoke-direct {p0}, Les/l50;->b()V

    .line 8
    invoke-virtual {p3}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v1

    int-to-long v1, v1

    add-long/2addr v1, p1

    .line 9
    invoke-virtual {p0}, Les/l50;->getLength()J

    move-result-wide v3

    cmp-long v5, v1, v3

    if-lez v5, :cond_0

    .line 10
    invoke-virtual {p0, v1, v2}, Les/l50;->setLength(J)V

    .line 11
    :cond_0
    iget-object v1, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1}, Les/m50;->m()V

    .line 12
    iget-object v1, p0, Les/l50;->e:Les/f50;

    invoke-virtual {v1, p1, p2, p3}, Les/f50;->b(JLjava/nio/ByteBuffer;)V

    .line 13
    monitor-exit v0

    return-void

    .line 14
    :cond_1
    new-instance p1, Ljava/io/IOException;

    const-string p2, "The file is deleted"

    invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw p1

    :catchall_0
    move-exception p1

    .line 15
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public b(Les/e50;)V
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 16
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 17
    :try_start_0
    iget-object v1, p0, Les/l50;->d:Les/j50;

    iget-object v2, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1, v2, p1}, Les/j50;->a(Les/m50;Les/e50;)V

    .line 18
    check-cast p1, Les/j50;

    iput-object p1, p0, Les/l50;->d:Les/j50;

    .line 19
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public close()V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-virtual {p0}, Les/l50;->flush()V

    return-void
.end method

.method public createDirectory(Ljava/lang/String;)Les/e50;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "This is a file!"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public delete()V
    .locals 4
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    invoke-direct {p0}, Les/l50;->b()V

    .line 3
    iget-object v1, p0, Les/l50;->d:Les/j50;

    iget-object v2, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1, v2}, Les/j50;->a(Les/m50;)V

    .line 4
    iget-object v1, p0, Les/l50;->d:Les/j50;

    invoke-virtual {v1}, Les/j50;->d()V

    .line 5
    iget-object v1, p0, Les/l50;->e:Les/f50;

    const-wide/16 v2, 0x0

    invoke-virtual {v1, v2, v3}, Les/f50;->a(J)V

    const/4 v1, 0x1

    .line 6
    iput-boolean v1, p0, Les/l50;->g:Z

    .line 7
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public e(Ljava/lang/String;)Les/e50;
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance p1, Ljava/lang/UnsupportedOperationException;

    const-string v0, "This is a file!"

    invoke-direct {p1, v0}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw p1
.end method

.method public flush()V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->d:Les/j50;

    invoke-virtual {v1}, Les/j50;->d()V

    .line 3
    monitor-exit v0

    return-void

    :catchall_0
    move-exception v1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getLength()J
    .locals 3

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1}, Les/m50;->d()J

    move-result-wide v1

    monitor-exit v0

    return-wide v1

    :catchall_0
    move-exception v1

    .line 3
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getName()Ljava/lang/String;
    .locals 2

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1}, Les/m50;->f()Ljava/lang/String;

    move-result-object v1

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    .line 3
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public getParent()Les/e50;
    .locals 2

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->d:Les/j50;

    monitor-exit v0

    return-object v1

    :catchall_0
    move-exception v1

    .line 3
    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw v1
.end method

.method public isHidden()Z
    .locals 1

    .line 1
    iget-object v0, p0, Les/l50;->f:Les/m50;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/m50;->i()Z

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public isReadOnly()Z
    .locals 1

    .line 1
    iget-object v0, p0, Les/l50;->f:Les/m50;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/m50;->j()Z

    move-result v0

    return v0

    :cond_0
    const/4 v0, 0x0

    return v0
.end method

.method public setLength(J)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->e:Les/f50;

    invoke-virtual {v1, p1, p2}, Les/f50;->a(J)V

    .line 3
    iget-object v1, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1, p1, p2}, Les/m50;->a(J)V

    .line 4
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public setName(Ljava/lang/String;)V
    .locals 3
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    sget-object v0, Les/g50;->f:Ljava/lang/Object;

    monitor-enter v0

    .line 2
    :try_start_0
    iget-object v1, p0, Les/l50;->d:Les/j50;

    iget-object v2, p0, Les/l50;->f:Les/m50;

    invoke-virtual {v1, v2, p1}, Les/j50;->a(Les/m50;Ljava/lang/String;)V

    .line 3
    monitor-exit v0

    return-void

    :catchall_0
    move-exception p1

    monitor-exit v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    throw p1
.end method

.method public v()J
    .locals 2

    .line 1
    iget-object v0, p0, Les/l50;->f:Les/m50;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/m50;->e()J

    move-result-wide v0

    return-wide v0

    :cond_0
    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public w()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public x()[Ljava/lang/String;
    .locals 2

    .line 1
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "This is a file!"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public y()[Les/e50;
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    const-string v1, "This is a file!"

    invoke-direct {v0, v1}, Ljava/lang/UnsupportedOperationException;-><init>(Ljava/lang/String;)V

    throw v0
.end method

.method public z()J
    .locals 2

    .line 1
    iget-object v0, p0, Les/l50;->f:Les/m50;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/m50;->b()J

    move-result-wide v0

    return-wide v0

    :cond_0
    const-wide/16 v0, 0x0

    return-wide v0
.end method
